export interface ServerConfig {
  start: boolean
  port: number
  img_path: string
  is_https: boolean
  https_key: string
  https_cert: string
  https_ca_cert: string
}

export type ConfigCallback = (_config: ServerConfig) => ServerConfig | void

export interface ImgReqQuery {
  w?: string
  h?: string
  s?: string
}

export interface ImgReqParams {
  alias?: string
}
